package com.qf.bean;

import lombok.Data;

import javax.persistence.Entity;

@Data
@Entity
public class Admin {

  private Integer id;
  private String username;
  private String password;
  private Integer powerId;
  private String salt;

  public String getSalt() {
    return salt;
  }

  public void setSalt(String salt) {
    this.salt = salt;
  }

  public Integer getId() {
    return id;
  }

  public void setId(Integer id) {
    this.id = id;
  }


  public String getUsername() {
    return username;
  }

  public void setUsername(String username) {
    this.username = username;
  }


  public String getPassword() {
    return password;
  }

  public void setPassword(String password) {
    this.password = password;
  }


  public Integer getPowerId() {
    return powerId;
  }

  public void setPowerId(Integer powerId) {
    this.powerId = powerId;
  }

}
